import  requests

response = requests.get('http://www.qfedu.com/')
# print(type(response.text)) #返回的是Unicode格式的
# print(response.text)
# print(response.content.decode('utf-8'))
print(response.url)
print(response.encoding) #响应头的字符编码
print(response.status_code) #响应状态码